home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_event.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  2.1 KB  |  67 lines

  1. /*****************************************************************************
  2.   FILE           : ui_event.ph
  3.   SHORTNAME      : event.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 5.6.1990
  11.  
  12.   CHANGED BY     : Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_event.ph    1.9 3/2/94
  14.   SCCS VERSION   : 1.9
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_EVENT_DEFINED_
  23. #define _UI_EVENT_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void ui_mw_eventProc (Widget, struct Ui_DisplayType *, XEvent *);
  30. void ui_can_MapEventProc (Widget,  struct Ui_DisplayType *, XEvent *);
  31.  
  32. unsigned long   ui_col_mainCells[10][3];
  33. struct PosType  ui_pixPosMouse, ui_gridPosMouse; /* current mouse position */
  34.  
  35.  
  36. /* end global definition section */
  37.  
  38.  
  39. /* begin private definition section */
  40.  
  41.  
  42. static int             ui_link_sourceUnitNo;            /* unitNo on position, where
  43.                                                     middle button was
  44.                                                     depressed */
  45. static struct PosType  ui_pixPosOld, ui_gridPosOld;     /* last mouse position */
  46. static Bool            ui_unselectFlg;                  /* SHIFT was pressed */
  47. static Bool            ui_pixBoxDrawnFlg;               /* rubber box is visible */
  48. static Bool            ui_leftButton, ui_middleButton;  /* ... button was depressed */
  49. static struct PosType  ui_selPixPos1, ui_selGridPos1;   /* position, where the left
  50.                                                     button was depressed */
  51. static struct PosType  ui_selGridPos2;                  /* position, where the left
  52.                                                     button was released */
  53. static struct PosType  ui_selPixPosBox;                 /* position of the first
  54.                                                     corner of the rubber box */
  55.  
  56.  
  57.  
  58. /* end private definition section */
  59.  
  60.  
  61. #endif /* _UI_EVENT_DEFINED_ */
  62.  
  63.  
  64.  
  65. /* end of file */
  66. /* lines: 27 */
  67.